<?xml version="1.0" encoding="UTF-8" ?>
<XMI xmi.version="1.1" xmlns:UML="http://www.omg.org/UML" xmlns:xlink="http://www.w3c.org/xlink">
    <XMI.header>
        <XMI.documentation>
            <XMI.exporter>Rational XDE</XMI.exporter>
            <XMI.exporterVersion>1.5</XMI.exporterVersion>
        </XMI.documentation>
        <XMI.metamodel xmi.name="UML" xmi.version="1.4"/>
    </XMI.header>
    <XMI.content>
        <UML:Model xmi.id="ModelId">
            <UML:ModelElement.name>simple</UML:ModelElement.name>
            <UML:Namespace.ownedElement>
                <UML:Class xmi.id="E.D_${model.vocabularyname}">
                    <UML:ModelElement.visibility xmi.value="public"/>
                    <UML:ModelElement.name>D_${model.vocabularyname}</UML:ModelElement.name>
                    <UML:Classifier.feature>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.currentPage">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="EN.currentPage"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>currentPage</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.lastQuestionAnswered">
                            <UML:ModelElement.visibility xmi.value="public"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="EN.lastQuestionAnswered"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>lastQuestionAnswered</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.displayTitle">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>displayTitle</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.function">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>function</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.locale">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>locale</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.productLine">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>productLine</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.refId">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>refId</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.region">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>region</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.sessionId">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>sessionId</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.dialogId">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.Integer"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>dialogId</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.dialogInstanceId">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.Integer"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>dialogInstanceId</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.noOfChangedFlags">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.Integer"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>noOfChangedFlags</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="A.D_${model.vocabularyname}.version">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.Integer"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>version</UML:ModelElement.name>
                        </UML:Attribute>
                    </UML:Classifier.feature>
                </UML:Class>
               <#list model.questionSetsInNaire as pageInquestion>
                <UML:Class xmi.id="E.P_${pageInquestion.questionSet.vocabularyname}">
                    <UML:ModelElement.visibility xmi.value="public"/>
                    <UML:ModelElement.name>P_${pageInquestion.questionSet.vocabularyname}</UML:ModelElement.name>
                    <UML:Classifier.feature>
                        <UML:Attribute xmi.id="E.P_${pageInquestion.questionSet.vocabularyname}.displayTitle">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>displayTitle</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="E.P_${pageInquestion.questionSet.vocabularyname}.helpText">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>helpText</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="E.P_${pageInquestion.questionSet.vocabularyname}.refId">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.String"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>refId</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="E.P_${pageInquestion.questionSet.vocabularyname}.pageId">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.Integer"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>pageId</UML:ModelElement.name>
                        </UML:Attribute>
                        <UML:Attribute xmi.id="E.P_${pageInquestion.questionSet.vocabularyname}.version">
                            <UML:ModelElement.visibility xmi.value="private"/>
                            <UML:StructuralFeature.type>
                                <UML:Classifier xmi.idref="DT.Integer"/>
                            </UML:StructuralFeature.type>
                            <UML:ModelElement.name>version</UML:ModelElement.name>
                        </UML:Attribute>
                    </UML:Classifier.feature>
                </UML:Class>
	                <#list pageInquestion.questionSet.questionsInSet as inQuestion>
	                <UML:Class xmi.id="E.Q_${inQuestion.question.vocabularyname}">
	                    <UML:ModelElement.visibility xmi.value="public"/>
	                    <UML:ModelElement.name>Q_${inQuestion.question.vocabularyname}</UML:ModelElement.name>
	                    <UML:Classifier.feature>
	                        <UML:Attribute xmi.id="E.Q_${inQuestion.question.vocabularyname}.displayFlag">
	                            <UML:ModelElement.visibility xmi.value="private"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.Boolean"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>displayFlag</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.Q_${inQuestion.question.vocabularyname}.helpText">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.String"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>helpText</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.Q_${inQuestion.question.vocabularyname}.questionText">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.String"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>questionText</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.Q_${inQuestion.question.vocabularyname}.refId">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.String"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>refId</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.Q_${inQuestion.question.vocabularyname}.responseType">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="EN.responseType"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>responseType</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.Q_${inQuestion.question.vocabularyname}.uiControl">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="EN.uiControl"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>uiControl</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.Q_${inQuestion.question.vocabularyname}.questionId">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.Integer"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>questionId</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.Q_${inQuestion.question.vocabularyname}.version">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.Integer"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>version</UML:ModelElement.name>
	                        </UML:Attribute>
	                    </UML:Classifier.feature>
	                </UML:Class>
	                <UML:Class xmi.id="E.R_${inQuestion.question.vocabularyname}">
	                    <UML:ModelElement.visibility xmi.value="public"/>
	                    <UML:ModelElement.name>R_${inQuestion.question.vocabularyname}</UML:ModelElement.name>
	                    <UML:Classifier.feature>
	                        <UML:Attribute xmi.id="E.R_${inQuestion.question.vocabularyname}.respSelected">
	                            <UML:ModelElement.visibility xmi.value="private"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.Boolean"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>respSelected</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.R_${inQuestion.question.vocabularyname}.respEnabled">
	                            <UML:ModelElement.visibility xmi.value="private"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.Boolean"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>respEnabled</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.R_${inQuestion.question.vocabularyname}.respLabel">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>
	                                <UML:Classifier xmi.idref="DT.String"/>
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>respLabel</UML:ModelElement.name>
	                        </UML:Attribute>
	                        <UML:Attribute xmi.id="E.R_${inQuestion.question.vocabularyname}.respValue">
	                            <UML:ModelElement.visibility xmi.value="public"/>
	                            <UML:StructuralFeature.type>	                           
	                            <UML:Classifier xmi.idref="DT.${(inQuestion.question.responseType.dataType.code)?default("")}"/>	                                                            
	                            </UML:StructuralFeature.type>
	                            <UML:ModelElement.name>respValue</UML:ModelElement.name>
	                        </UML:Attribute>
	                    </UML:Classifier.feature>
	                </UML:Class>	               
	                </#list>
                </#list>
                <#list model.questionSetsInNaire as pageInquestion>
                	
		                <UML:Association xmi.id="Assoc.P_${pageInquestion.questionSet.vocabularyname}.p_${pageInquestion.questionSet.vocabularyname}.D_${model.vocabularyname}.Role2">
		                    <UML:ModelElement.name/>
		                    <UML:Association.connection>
		                        <UML:AssociationEnd xmi.id="Assoc.P_${pageInquestion.questionSet.vocabularyname}.p_${pageInquestion.questionSet.vocabularyname}.D_${model.vocabularyname}.Role2.1">
		                            <UML:AssociationEnd.isNavigable xmi.value="true"/>
		                            <UML:AssociationEnd.participant>
		                                <UML:Classifier xmi.idref="E.D_${model.vocabularyname}"/>
		                                <UML:Classifier xmi.idref="E.P_${pageInquestion.questionSet.vocabularyname}"/>
		                            </UML:AssociationEnd.participant>
		                            <UML:AssociationEnd.multiplicity>
		                                <UML:Multiplicity>
		                                    <UML:Multiplicity.range>
		                                        <UML:MultiplicityRange>
		                                            <UML:MultiplicityRange.lower>1</UML:MultiplicityRange.lower>
		                                            <UML:MultiplicityRange.upper>1</UML:MultiplicityRange.upper>
		                                        </UML:MultiplicityRange>
		                                    </UML:Multiplicity.range>
		                                </UML:Multiplicity>
		                            </UML:AssociationEnd.multiplicity>
		                            <UML:ModelElement.visibility xmi.value="public"/>
		                            <UML:ModelElement.name>p_${pageInquestion.questionSet.vocabularyname}</UML:ModelElement.name>
		                        </UML:AssociationEnd>
		                        <UML:AssociationEnd xmi.id="Assoc.P_${pageInquestion.questionSet.vocabularyname}.p_${pageInquestion.questionSet.vocabularyname}.D_${model.vocabularyname}.Role2.2">
		                            <UML:AssociationEnd.isNavigable xmi.value="false"/>
		                            <UML:AssociationEnd.participant>
		                                <UML:Classifier xmi.idref="E.P_${pageInquestion.questionSet.vocabularyname}"/>
		                                <UML:Classifier xmi.idref="E.D_${model.vocabularyname}"/>
		                            </UML:AssociationEnd.participant>
		                            <UML:AssociationEnd.multiplicity>
		                                <UML:Multiplicity>
		                                    <UML:Multiplicity.range>
		                                        <UML:MultiplicityRange>
		                                            <UML:MultiplicityRange.lower>1</UML:MultiplicityRange.lower>
		                                            <UML:MultiplicityRange.upper>1</UML:MultiplicityRange.upper>
		                                        </UML:MultiplicityRange>
		                                    </UML:Multiplicity.range>
		                                </UML:Multiplicity>
		                            </UML:AssociationEnd.multiplicity>
		                            <UML:ModelElement.visibility xmi.value="public"/>
		                            <UML:ModelElement.name/>
		                        </UML:AssociationEnd>
		                    </UML:Association.connection>
		                </UML:Association>
		                <#list pageInquestion.questionSet.questionsInSet as inQuestion>
		                <UML:Association xmi.id="Assoc.Q_${inQuestion.question.vocabularyname}.q_${inQuestion.question.vocabularyname}.P_${pageInquestion.questionSet.vocabularyname}.p_${pageInquestion.questionSet.vocabularyname}">
		                    <UML:ModelElement.name/>
		                    <UML:ModelElement.isSpecification xmi.value="false"/>
		                    <UML:Association.connection>
		                        <UML:AssociationEnd xmi.id="Assoc.Q_${inQuestion.question.vocabularyname}.q_${inQuestion.question.vocabularyname}.P_${pageInquestion.questionSet.vocabularyname}.p_${pageInquestion.questionSet.vocabularyname}.1">
		                            <UML:AssociationEnd.isNavigable xmi.value="true"/>
		                            <UML:AssociationEnd.participant>
		                                <UML:Classifier xmi.idref="E.P_${pageInquestion.questionSet.vocabularyname}"/>
		                                <UML:Classifier xmi.idref="E.Q_${inQuestion.question.vocabularyname}"/>
		                            </UML:AssociationEnd.participant>
		                            <UML:AssociationEnd.multiplicity>
		                                <UML:Multiplicity>
		                                    <UML:Multiplicity.range>
		                                        <UML:MultiplicityRange>
		                                            <UML:MultiplicityRange.lower>1</UML:MultiplicityRange.lower>
		                                            <UML:MultiplicityRange.upper>1</UML:MultiplicityRange.upper>
		                                        </UML:MultiplicityRange>
		                                    </UML:Multiplicity.range>
		                                </UML:Multiplicity>
		                            </UML:AssociationEnd.multiplicity>
		                            <UML:ModelElement.visibility xmi.value="public"/>
		                            <UML:ModelElement.name>q_${inQuestion.question.vocabularyname}</UML:ModelElement.name>
		                        </UML:AssociationEnd>
		                        <UML:AssociationEnd xmi.id="Assoc.Q_${inQuestion.question.vocabularyname}.q_${inQuestion.question.vocabularyname}.P_${pageInquestion.questionSet.vocabularyname}.p_${pageInquestion.questionSet.vocabularyname}.2">
		                            <UML:AssociationEnd.isNavigable xmi.value="false"/>
		                            <UML:AssociationEnd.participant>
		                                <UML:Classifier xmi.idref="E.Q_${inQuestion.question.vocabularyname}"/>
		                                <UML:Classifier xmi.idref="E.P_${pageInquestion.questionSet.vocabularyname}"/>
		                            </UML:AssociationEnd.participant>
		                            <UML:AssociationEnd.multiplicity>
		                                <UML:Multiplicity>
		                                    <UML:Multiplicity.range>
		                                        <UML:MultiplicityRange>
		                                            <UML:MultiplicityRange.lower>1</UML:MultiplicityRange.lower>
		                                            <UML:MultiplicityRange.upper>1</UML:MultiplicityRange.upper>
		                                        </UML:MultiplicityRange>
		                                    </UML:Multiplicity.range>
		                                </UML:Multiplicity>
		                            </UML:AssociationEnd.multiplicity>
		                            <UML:ModelElement.visibility xmi.value="public"/>
		                            <UML:ModelElement.name>p_${pageInquestion.questionSet.vocabularyname}</UML:ModelElement.name>
		                        </UML:AssociationEnd>
		                    </UML:Association.connection>
		                </UML:Association>
		                <UML:Association xmi.id="Assoc.R_${inQuestion.question.vocabularyname}.r_${inQuestion.question.vocabularyname}.Q_${inQuestion.question.vocabularyname}.q_${inQuestion.question.vocabularyname}">
		                    <UML:ModelElement.name/>
		                    <UML:ModelElement.isSpecification xmi.value="false"/>
		                    <UML:Association.connection>
		                        <UML:AssociationEnd xmi.id="Assoc.R_${inQuestion.question.vocabularyname}.r_${inQuestion.question.vocabularyname}.Q_${inQuestion.question.vocabularyname}.q_${inQuestion.question.vocabularyname}.1">
		                            <UML:AssociationEnd.isNavigable xmi.value="true"/>
		                            <UML:AssociationEnd.participant>
		                                <UML:Classifier xmi.idref="E.Q_${inQuestion.question.vocabularyname}"/>
		                                <UML:Classifier xmi.idref="E.R_${inQuestion.question.vocabularyname}"/>
		                            </UML:AssociationEnd.participant>
		                            <UML:AssociationEnd.multiplicity>
		                                <UML:Multiplicity>
		                                    <UML:Multiplicity.range>
		                                        <UML:MultiplicityRange>
		                                            <UML:MultiplicityRange.lower>1</UML:MultiplicityRange.lower>
		                                            <UML:MultiplicityRange.upper><#if (inQuestion.question.responseType.uicontrol.name)?default("")  ==  "Radio Button" || (inQuestion.question.responseType.uicontrol.name)?default("")  ==  "Check Box" ||  (inQuestion.question.responseType.uicontrol.name)?default("")  ==  "Dropdown">*<#else>1</#if></UML:MultiplicityRange.upper>
		                                        </UML:MultiplicityRange>
		                                    </UML:Multiplicity.range>
		                                </UML:Multiplicity>
		                            </UML:AssociationEnd.multiplicity>
		                            <UML:ModelElement.visibility xmi.value="public"/>
		                            <UML:ModelElement.name>response</UML:ModelElement.name>
		                        </UML:AssociationEnd>
		                        <UML:AssociationEnd xmi.id="Assoc.R_${inQuestion.question.vocabularyname}.r_${inQuestion.question.vocabularyname}.Q_${inQuestion.question.vocabularyname}.q_${inQuestion.question.vocabularyname}.2">
		                            <UML:AssociationEnd.isNavigable xmi.value="false"/>
		                            <UML:AssociationEnd.participant>
		                                <UML:Classifier xmi.idref="E.R_${inQuestion.question.vocabularyname}"/>
		                                <UML:Classifier xmi.idref="E.Q_${inQuestion.question.vocabularyname}"/>
		                            </UML:AssociationEnd.participant>
		                            <UML:AssociationEnd.multiplicity>
		                                <UML:Multiplicity>
		                                    <UML:Multiplicity.range>
		                                        <UML:MultiplicityRange>
		                                            <UML:MultiplicityRange.lower>1</UML:MultiplicityRange.lower>
		                                            <UML:MultiplicityRange.upper>1</UML:MultiplicityRange.upper>
		                                        </UML:MultiplicityRange>
		                                    </UML:Multiplicity.range>
		                                </UML:Multiplicity>
		                            </UML:AssociationEnd.multiplicity>
		                            <UML:ModelElement.visibility xmi.value="public"/>
		                            <UML:ModelElement.name>response</UML:ModelElement.name>
		                        </UML:AssociationEnd>
		                    </UML:Association.connection>
		                </UML:Association>		               
		                </#list>
                </#list>
                
                
                	
		                <UML:Enumeration xmi.id="EN.lastQuestionAnswered">
		                    <UML:ModelElement.visibility xmi.value="public"/>
		                    <UML:ModelElement.name>lastQuestionAnswered</UML:ModelElement.name>
		                    <UML:Enumeration.literal>
		                     <#list questions as questions>		                    	
		                        <UML:EnumerationLiteral xmi.id="EN.lastQuestionAnswered.${questions_index+1}">
		                            <UML:ModelElement.name>q_${questions.vocabularyname}</UML:ModelElement.name>		                            
		                            <#if questions_index ==0>
		                            <UML:ModelElement.stereotype>
		                                <UML:Stereotype xmi.idref="ST.String" name="String"/>
		                            </UML:ModelElement.stereotype>
		                             <#else>
		                             <UML:ModelElement.isSpecification xmi.value="false"/>
		                             </#if>		                            		                            
		                        </UML:EnumerationLiteral>		                        	
		                       </#list>
		                       </UML:Enumeration.literal>	                        
		                </UML:Enumeration>
		                <UML:Enumeration xmi.id="EN.currentPage">
		                    <UML:ModelElement.visibility xmi.value="public"/>
		                    <UML:ModelElement.name>lastQuestionAnswered</UML:ModelElement.name>
		                    <UML:Enumeration.literal>
		                    <#list model.questionSetsInNaire as pageInquestion>		                    	
		                        <UML:EnumerationLiteral xmi.id="EN.currentPage.${pageInquestion_index+1}">
		                            <UML:ModelElement.name>p_${pageInquestion.questionSet.vocabularyname}</UML:ModelElement.name>
		                            <#if pageInquestion_index ==0>
		                            <UML:ModelElement.stereotype>
		                                <UML:Stereotype xmi.idref="ST.String" name="String"/>
		                            </UML:ModelElement.stereotype>
		                             <#else>
		                             <UML:ModelElement.isSpecification xmi.value="false"/>
		                             </#if>		                             
		                        </UML:EnumerationLiteral>		                         
		                       </#list>		                        
		                    </UML:Enumeration.literal>
		                </UML:Enumeration>
		                <UML:Enumeration xmi.id="EN.uiControl">
		                    <UML:ModelElement.visibility xmi.value="public"/>
		                    <UML:ModelElement.name>uiControl</UML:ModelElement.name>
		                    <UML:Enumeration.literal>
		                    <#list uiControl as uiControl>	
		                        <UML:EnumerationLiteral xmi.id="EN.uiControl.${uiControl_index+1}">
		                            <UML:ModelElement.name>${uiControl.name}</UML:ModelElement.name>
		                            <#if uiControl_index ==0>
		                            <UML:ModelElement.stereotype>
		                                <UML:Stereotype xmi.idref="ST.String" name="String"/>
		                            </UML:ModelElement.stereotype>
		                             <#else>
		                             <UML:ModelElement.isSpecification xmi.value="false"/>
		                             </#if>	
		                        </UML:EnumerationLiteral>
		                        </#list>		                        
		                    </UML:Enumeration.literal>
		                </UML:Enumeration>
		                <UML:Enumeration xmi.id="EN.responseType">
		                    <UML:ModelElement.visibility xmi.value="public"/>
		                    <UML:ModelElement.name>responseType</UML:ModelElement.name>
		                    <UML:Enumeration.literal>
		                    <#list resType as resType>
		                        <UML:EnumerationLiteral xmi.id="EN.responseType.${resType_index+1}">
		                            <UML:ModelElement.name>${resType.name}</UML:ModelElement.name>
		                             <#if resType_index ==0>
		                            <UML:ModelElement.stereotype>
		                                <UML:Stereotype xmi.idref="ST.String" name="String"/>
		                            </UML:ModelElement.stereotype>
		                             <#else>
		                             <UML:ModelElement.isSpecification xmi.value="false"/>
		                             </#if>	
		                        </UML:EnumerationLiteral>
		                        </#list>		                        
		                    </UML:Enumeration.literal>
		                </UML:Enumeration>       
		                    	
		                <#list questions as questions>
		               <#if (questions.responseType.uicontrol.name)?default("")  ==  "Radio Button" || (questions.responseType.uicontrol.name)?default("")  ==  "Check Box" ||  (questions.responseType.uicontrol.name)?default("")  ==  "Dropdown">
		                <UML:Enumeration xmi.id="EN.R_${questions.vocabularyname}_respValue">
		                    <UML:ModelElement.visibility xmi.value="public"/>
		                    <UML:ModelElement.name>R_${questions.vocabularyname}_respValue</UML:ModelElement.name>		                    
		                    <UML:Enumeration.literal>
		                    <#list questions.responseType.responseEntries as response>	    
		                        <UML:EnumerationLiteral xmi.id="EN.R_${questions.vocabularyname}_respValue.${response_index+1}">
		                            <UML:ModelElement.name>${response.value}</UML:ModelElement.name>
		                            <#if response_index == 0>
		                            <UML:ModelElement.stereotype>
		                                <UML:Stereotype xmi.idref="ST.${(questions.responseType.dataType.name)?default("")}" name="${(questions.responseType.dataType.name)?default("")}"/>
		                            </UML:ModelElement.stereotype>
		                            </#if>
		                        </UML:EnumerationLiteral>
		                      </#list>  		                        
		                    </UML:Enumeration.literal>
		                </UML:Enumeration>
		                <UML:Enumeration xmi.id="EN.R_${questions.vocabularyname}_respLabel">
		                    <UML:ModelElement.visibility xmi.value="public"/>
		                    <UML:ModelElement.name>R_${questions.vocabularyname}</UML:ModelElement.name>
		                    <UML:Enumeration.literal>
		                     <#list questions.responseType.responseEntries as response>	    
		                        <UML:EnumerationLiteral xmi.id="EN.R_${questions.vocabularyname}_respLabel.${questions_index+1}">
		                            <UML:ModelElement.name>${response.label?html}</UML:ModelElement.name>
		                            <#if response_index == 1>
		                            <UML:ModelElement.stereotype>
		                                <UML:Stereotype xmi.idref="ST.${(questions.responseType.dataType.name)?default("")}" name="${(questions.responseType.dataType.name)?default("")}"/>
		                            </UML:ModelElement.stereotype>
		                            </#if>
		                        </UML:EnumerationLiteral>
		                        </#list> 	                        
		                    </UML:Enumeration.literal>
		                </UML:Enumeration>
		                </#if>		            
		               </#list>
               	<#list dataType as dataType>                
                <UML:Stereotype xmi.id="ST.${dataType.name}">
                    <UML:ModelElement.name>String</UML:ModelElement.name>
                </UML:Stereotype>               
                </#list>
                <#list dataType as dataType>
		    <UML:DataType xmi.id="DT.${dataType.name}">
		        <UML:ModelElement.name>${dataType.name}</UML:ModelElement.name>
		    </UML:DataType>		    
		    </#list>
            </UML:Namespace.ownedElement>
        </UML:Model>
    </XMI.content>
</XMI>